<template>
	<view class="no-order">
		<view class="nolist-img">
			<image class="img" src="../../../static/images/empty-image-default.png" mode=""></image>
			<view class="text">
				这么多优惠的宝贝，登录去购买吧！
			</view>
		</view>
		<button class="button" type="default" v-if="!isLogin">登录</button>
		<button class="button" type="default" v-else>去购买</button>
	</view>
</template>
<script>
	export default {
		name:"noOrder",
		computed:{
			isLogin(){
				return this.$store.state.channel
			}
		}
	}
</script>
<style lang="scss" scoped>
	@import "../style/no_order.scss";
</style>
